std::basic_ifstream::operator=

From Cppreference

Jump to: navigation, search
​basic_ifstream& operator=( basic_ifstream&& other );
(C++0x)

Moves the file stream. The source stream becomes of invalid state after the operation.


Contents

Parameters

other - file stream to move. other becomes of invalid state after the operation.

Return value

*this​

Example

See also

swap (C++0x)
swaps two file streams
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages